<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>张三的个人主页</title>
    <script src="static/js/vue.global.js"></script>
    <style>
        .container {
            width: 500px;
            border: 1px solid #000;
            padding: 20px;
            margin: 50px auto;
        }
        h2 {
            margin-top: 0;
        }
        ul {
            list-style-type: disc;
            padding-left: 20px;
        }
        li {
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
    <div id="app">
        <h1>{{user.name}}</h1>
        <p>年龄:{{user.age}}</p>
        <p>性别：{{user.gender}}</p>
        <p>爱好：{{user.hobby}}</p>
        <p>工作：{{user.job}}</p>
        <p>个人简历：{{user.bio}}</p>
        <div>
            <h3>签名挡</h3>
            <div v-html="user.bio"></div>
        </div>
    </div>
        
    <script>
      const App = {
        data() {
          return {
            title: "vue",
            user:{
              name:"张三",
              age:18,
              gender:"",
              hobby:"",
              job:"",
              bio:"<h4>程序员的一天</h4><ul><li>"
          }
        };
      },
    };
    Vue.createApp(App).mount("#app")
    </script>
</body>
</html>